/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.category.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.category.entity.WxCategory;
import com.thinkgem.jeesite.modules.category.dao.WxCategoryDao;

/**
 * 类别管理Service
 * @author 李云涛
 * @version 2017-09-02
 */
@Service
@Transactional(readOnly = true)
public class WxCategoryService extends CrudService<WxCategoryDao, WxCategory> {

	public WxCategory get(String id) {
		return super.get(id);
	}
	
	public List<WxCategory> findList(WxCategory wxCategory) {
		return super.findList(wxCategory);
	}
	
	public Page<WxCategory> findPage(Page<WxCategory> page, WxCategory wxCategory) {
		return super.findPage(page, wxCategory);
	}
	
	@Transactional(readOnly = false)
	public void save(WxCategory wxCategory) {
		super.save(wxCategory);
	}
	
	@Transactional(readOnly = false)
	public void delete(WxCategory wxCategory) {
		super.delete(wxCategory);
	}
	
}